from httpspy.core.module_manager import ModuleManager 

class SimplePrinter:
	"""
	Esta clase toma un objeto HTTPFlow y registra informacion por pantalla.
	"""
	def log_stream(http_stream):
		print http_stream.shost()

	def help(cls):
		print "Simple printer module"

ModuleManager.register(SimplePrinter, 'SimplePrinter');
